import { getAwards,getConfig,getResult,getUser } from './serversApi.js';

var user = getUser();
var config = getConfig();
var awards = getAwards();

// 转盘旋转
function turn(){

}

// 点击签到
function signIn(){

}

// 减少矿石数 
function reduceMinarel() {

}

// 增加矿石数 
function addMinarel() {

}

// 渲染转盘
function greateTurntable(){

    // 渲染 当前矿石数 
    let mineralEle = document.getElementsByClassName('drawLuck-hd__mineralNum');

    const mineralNum = user.mineralNum; 
    mineralEle.innerText = `当前矿石数：${mineralNum}`;
    console.log(mineralEle);


}

// 入口函数，抽奖主方法
function main() {
    greateTurntable();

}

main();